package com.fast.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fast.server.entity.vo.SysVerificationCode;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author ziyuancheng
 * @since 2024-05-05
 */
@Mapper
public interface SysVerificationCodeMapper extends BaseMapper<SysVerificationCode> {
    void disableEmailCode(@Param("email") String email);

    SysVerificationCode selectByEmailAndCode(@Param("email") String email, @Param("emailCode") String emailCode);
}
